﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CoreModels;
using System.Runtime.Serialization;
using DeviceAutomationService.Actions;

namespace DeviceAutomationService.Models
{
    [DataContract]
    public class TestRunModel
    {
        [DataMember]
        public int TestRunID;

        [DataMember]
        public int TestPlanID;
        
        [DataMember]
        public string TestPlanName;

        [DataMember]
        public List<TestCaseModel> TestCases;
    }

    [DataContract]
    public class TestCaseModel
    {
        [DataMember]
        public int TestCaseID;

        [DataMember]
        public int TestRunID;

        [DataMember]
        public int TestPlanID;

        [DataMember]
        public string TestCaseName;

        [DataMember]
        public List<ActionBaseModel> ActionModels;
    }
}